
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>P2P金融项目接口自动化测试报告</title>
    <meta name="generator" content="HTMLTestReport 0.0.1"/>
    <link rel="stylesheet" href="http://unpkg.com/layui@2.6.8/dist/css/layui.css">
    
<style type="text/css">
    .title { width: auto; height: 60px; text-align: center; font: bolder 38px/60px "Microsoft YaHei UI"; color: #009688; }
    .summary span { font: normal 16px/38px "Microsoft YaHei UI"; margin-left: 20px; }
    .success-btn { background-color: #28a745; }
    .skip-btn { background-color: #84898c; }
    .passClass  { background-color: #bdedbc; }
    .failClass  { background-color: #ffefa4; }
    .errorClass { background-color: #ffc9c9; }
    .passCase   { color: #5cb85c; }
    .skipCase   { color: #84898c; }
    .failCase   { color: #FF6600; font-weight: bold; }
    .errorCase  { color: #c00; font-weight: bold; }
    .hiddenRow  { display: none; }
    .testcase   { margin-left: 2em; }
    .layui-table tbody tr:hover, .layui-table-click, .layui-table-header, .layui-table-hover, .layui-table-mend, .layui-table-patch, .layui-table-tool, .layui-table[lay-even] tr:nth-child(even) {
        background-color: transparent;
    }
</style>

    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js"></script>
</head>
<body>
    <script language="javascript" type="text/javascript"><!--
    output_list = Array();
    function showCase(level) {
        trs = document.getElementsByTagName("tr");
        for (var i = 0; i < trs.length; i++) {
            tr = trs[i];
            id = tr.id;
            if (id.substr(0,2) == 'ft') {
                if (level == 2 || level == 0) {
                    tr.className = 'hiddenRow';
                }
                else {
                    tr.className = '';
                }
            }
            if (id.substr(0,2) == 'pt') {
                if (level < 2) {
                    tr.className = 'hiddenRow';
                }
                else {
                    tr.className = '';
                }
            }
        }      
    }
    function showClassDetail(cid, count) {
        var id_list = Array(count);
        var toHide = 1;
        for (var i = 0; i < count; i++) {
            tid0 = 't' + cid.substr(1) + '.' + (i+1);
            tid = 'f' + tid0;
            tr = document.getElementById(tid);
            if (!tr) {
                tid = 'p' + tid0;
                tr = document.getElementById(tid);
            }
            id_list[i] = tid;
            if (tr.className) {
                toHide = 0;
            }
        }
        for (var i = 0; i < count; i++) {
            tid = id_list[i];
            if (toHide) {
                document.getElementById(tid).className = 'hiddenRow';
            }
            else {
                document.getElementById(tid).className = '';
            }
        }
    }
    function showTestDetail(div_id){
        var details_div = document.getElementById(div_id)
        var displayState = details_div.style.display
        if (displayState == 'block' || displayState == '' ) {
            details_div.style.display = 'none'
        }
        else {
            displayState = 'block'
            details_div.style.display = 'block'
        }
    }
    function html_escape(s) {
        s = s.replace(/&/g,'&amp;');
        s = s.replace(/</g,'&lt;');
        s = s.replace(/>/g,'&gt;');
        return s;
    }
    --></script>
    <div class="layui-container">
        
    <!--报告标题-->
    <div class="title">P2P金融项目接口自动化测试报告</div>
    
    <!--汇总信息-->
    <fieldset class="layui-elem-field summary">
        <legend>测试结果汇总</legend>
        <div class="layui-field-box">
            <table class="layui-table">
                <colgroup>
                    <col width="50%">
                    <col width="50%">
                </colgroup>
                <tbody>
                    <tr>
                        <td>
                            <button type="button" class="layui-btn">开始时间</button>
                            <span class="text-dark">2021-11-03 14:50:36</span>
                        </td>
                        <td>
                            <button type="button" class="layui-btn">执行时间</button>
                            <span class="text-dark">0:01:11.274260 s</span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <button type="button" class="layui-btn">用例总数</button>
                            <span class="text-dark">29</span>
                        </td>
                        <td>
                            <button type="button" class="layui-btn">通过率</button>
                            <span class="text-dark">100.00%</span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <button type="button" class="layui-btn">描述信息</button>
                            <span class="text-dark">V5.0。。。</span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center">
                            <button type="button" class="layui-btn success-btn">成功用例：29</button>
                            <button type="button" class="layui-btn layui-btn-warm">失败用例：0</button>
                            <button type="button" class="layui-btn layui-btn-danger">错误用例：0</button>
                            <button type="button" class="layui-btn skip-btn">跳过用例：0</button>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </fieldset>
    
    <!--图表展示-->
    <fieldset class="layui-elem-field summary">
        <legend>图表展示</legend>
        <div class="layui-field-box">
            <div class="char">
                <div id="chart1" style="width: 49%;height: 400px;float: left"></div>
                <div id="chart2" style="width: 49%;height: 400px;float: left"></div>
            </div>
        </div>
    </fieldset>

        
    <fieldset class="layui-elem-field summary">
        <legend>详细信息</legend>
        <div class="layui-field-box">
            <table id='result_table' class="layui-table">
            <thead>
                <tr id='header_row' style='background-color: #009688; color: #fff'>
                    <th>测试用例</th>
                    <th>总数</th>
                    <th>通过</th>
                    <th>失败</th>
                    <th>错误</th>
                    <th>跳过</th>
                    <th>操作</th>
                </tr>
                </thead>
				<tbody>
                
    <tr class='passClass'>
        <td class="text-center">script.test_login.TestLogin</td>
        <td class="text-center">22</td>
        <td class="text-center">22</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center"><button type="button" class="layui-btn layui-btn-xs" onclick="showClassDetail('c1',22)">详细</button></td>
    </tr>

<tr id='pt1.1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_get_img_code_0__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.1')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.1' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.1: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_get_img_code_1__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.2')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.2' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.2: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.3' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_get_img_code_2__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.3')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.3' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.3: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.4' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_get_img_code_3__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.4')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.4' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.4: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.5' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_get_img_code_for_float</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.5')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.5' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.5: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.6' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test02_get_img_code_for_int</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.6')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.6' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.6: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.7' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test02_get_sms_code_0__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.7')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.7' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.7: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.8' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test02_get_sms_code_1__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.8')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.8' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.8: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.9' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test02_get_sms_code_2__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.9')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.9' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.9: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.10' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test03_get_img_code_for_char</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.10')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.10' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.10: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.11' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test03_reg_0__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.11')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.11' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.11: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
获取短信验证码： {'status': 200, 'description': '短信发送成功'}
reg2 body== {'phone': '13020210001', 'password': 'test123', 'verifycode': '8888', 'phone_code': '666666', 'dy_server': 'on'}
注册： {'status': 200, 'data': {'isLogin': '1'}, 'description': '注册成功'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.12' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test03_reg_1__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.12')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.12' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.12: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
获取短信验证码： {'status': 200, 'description': '短信发送成功'}
reg2 body== {'phone': '13020210001', 'password': 'test123', 'verifycode': '8888', 'phone_code': '666666', 'dy_server': 'on', 'invite_phone': '18800011121'}
注册： {'status': 200, 'data': {'isLogin': '1'}, 'description': '注册成功'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.13' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test04_get_img_code_for_empty</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.13')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.13' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.13: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.14' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test05_get_sms_code_success</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.14')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.14' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.14: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.15' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test06_get_sms_code_img_code_error</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.15')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.15' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.15: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
test06_get_sms_code_img_code_error json_data== {'status': 100, 'description': '图片验证码错误'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.16' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test07_reg_success</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.16')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.16' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.16: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
获取短信验证码： {'status': 200, 'description': '短信发送成功'}
reg data== {'phone': '13020210001', 'password': 'test123', 'verifycode': '8888', 'phone_code': '666666', 'dy_server': 'on'}
注册： {'status': 200, 'data': {'isLogin': '1'}, 'description': '注册成功'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.17' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test08_reg_success_full_params</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.17')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.17' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.17: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
获取短信验证码： {'status': 200, 'description': '短信发送成功'}
reg data== {'phone': '13020210001', 'password': 'test123', 'verifycode': '8888', 'phone_code': '666666', 'dy_server': 'on', 'invite_phone': '18800011121'}
注册： {'status': 200, 'data': {'isLogin': '1'}, 'description': '注册成功'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.18' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test09_reg_success_full_params2</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.18')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.18' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.18: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
获取短信验证码： {'status': 200, 'description': '短信发送成功'}
reg2 body== {'phone': '13020210001', 'password': 'test123', 'verifycode': '8888', 'phone_code': '666666', 'dy_server': 'on', 'invite_phone': '18800011121'}
注册： {'status': 200, 'data': {'isLogin': '1'}, 'description': '注册成功'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.19' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test10_login_success</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.19')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.19' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.19: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
login body== {'keywords': '18800011121', 'password': 'test123'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.20' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test11_login_pwd_error</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.20')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.20' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.20: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
login body== {'keywords': '18800011121', 'password': 'test666'}
r1=== {'status': 100, 'data': {'login_error': 2}, 'description': '密码错误1次,达到3次将锁定账户'}
login body== {'keywords': '18800011121', 'password': 'test666'}
r2=== {'status': 100, 'data': {'login_error': 3}, 'description': '密码错误2次,达到3次将锁定账户'}
login body== {'keywords': '18800011121', 'password': 'test666'}
r3=== {'status': 100, 'description': '由于连续输入错误密码达到上限，账号已被锁定，请于1.0分钟后重新登录'}
login body== {'keywords': '18800011121', 'password': 'test123'}
r4=== {'status': 100, 'description': '由于连续输入错误密码达到上限，账号已被锁定，请于1.0分钟后重新登录'}
login body== {'keywords': '18800011121', 'password': 'test123'}
r5=== {'status': 200, 'description': '登录成功'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.21' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test12_is_login_for_login</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.21')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.21' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.21: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
login body== {'keywords': '18800011121', 'password': 'test123'}
is_login r2== {'status': 200, 'description': 'OK'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt1.22' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test13_is_login_for_no_login</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt1.22')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt1.22' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt1.22: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
is_login r2== {'status': 250, 'description': '您未登陆！'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

    <tr class='passClass'>
        <td class="text-center">script.test_trust_account.TestTrustAccount</td>
        <td class="text-center">2</td>
        <td class="text-center">2</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center"><button type="button" class="layui-btn layui-btn-xs" onclick="showClassDetail('c2',2)">详细</button></td>
    </tr>

<tr id='pt2.1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_approve_realname_success</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt2.1')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt2.1' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt2.1: login body== {'keywords': '18800011121', 'password': 'test123'}
approve_realname body= {'realname': '小一', 'card_id': '110101199003072447'}
approve_realname r2== {'status': 200, 'data': {'card_id': '110****447', 'realname': '小**'}, 'description': '提交成功!'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt2.2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test02_trust_reg</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt2.2')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt2.2' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt2.2: login body== {'keywords': '18800011121', 'password': 'test123'}
Version     10
CmdId     UserRegister
MerCustId     6000060007313892
BgRetUrl     https://www.baidu.com/
RetUrl     http://user-p2p-test.itheima.net/trust/chinapnr/register/return/21110314514491078393
UsrId     
UsrName     
IdType     00
IdNo     110101199003072447
UsrMp     18800011121
UsrEmail     
MerPriv     21110314514491078393
ChkValue     -101
CharSet     UTF-8
req_data== {'Version': '10', 'CmdId': 'UserRegister', 'MerCustId': '6000060007313892', 'BgRetUrl': 'https://www.baidu.com/', 'RetUrl': 'http://user-p2p-test.itheima.net/trust/chinapnr/register/return/21110314514491078393', 'UsrId': '', 'UsrName': '', 'IdType': '00', 'IdNo': '110101199003072447', 'UsrMp': '18800011121', 'UsrEmail': '', 'MerPriv': '21110314514491078393', 'ChkValue': '-101', 'CharSet': 'UTF-8'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

    <tr class='passClass'>
        <td class="text-center">script.test_recharge.TestRecharge</td>
        <td class="text-center">1</td>
        <td class="text-center">1</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center"><button type="button" class="layui-btn layui-btn-xs" onclick="showClassDetail('c3',1)">详细</button></td>
    </tr>

<tr id='pt3.1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_recharge</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt3.1')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt3.1' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt3.1: login body== {'keywords': '18800011121', 'password': 'test123'}
Version     10
CmdId     NetSave
MerCustId     6000060007313892
UsrCustId     6020211103145144
OrdId     21110314514532088493
OrdDate     20211103
GateBusiId     B2C
OpenBankId     
DcFlag     D
TransAmt     300000.00
RetUrl     http://user-p2p-test.itheima.net/trust/chinapnr/recharge/return/21110314514532088493
BgRetUrl     https://www.baidu.com/
OpenAcctId     
CertId     
MerPriv     9293
ChkValue     -101
CharSet     UTF-8
req_data== {'Version': '10', 'CmdId': 'NetSave', 'MerCustId': '6000060007313892', 'UsrCustId': '6020211103145144', 'OrdId': '21110314514532088493', 'OrdDate': '20211103', 'GateBusiId': 'B2C', 'OpenBankId': '', 'DcFlag': 'D', 'TransAmt': '300000.00', 'RetUrl': 'http://user-p2p-test.itheima.net/trust/chinapnr/recharge/return/21110314514532088493', 'BgRetUrl': 'https://www.baidu.com/', 'OpenAcctId': '', 'CertId': '', 'MerPriv': '9293', 'ChkValue': '-101', 'CharSet': 'UTF-8'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

    <tr class='passClass'>
        <td class="text-center">script.test_tender.TestTender</td>
        <td class="text-center">3</td>
        <td class="text-center">3</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center"><button type="button" class="layui-btn layui-btn-xs" onclick="showClassDetail('c4',3)">详细</button></td>
    </tr>

<tr id='pt4.1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_tender_0__</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt4.1')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt4.1' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt4.1: login body== {'keywords': '18800011121', 'password': 'test123'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt4.2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_tender_1__0_</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt4.2')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt4.2' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt4.2: login body== {'keywords': '18800011121', 'password': 'test123'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

<tr id='pt4.3' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test02_tender_for_3</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt4.3')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt4.3' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt4.3: login body== {'keywords': '18800011121', 'password': 'test123'}
Version     20
CmdId     InitiativeTender
MerCustId     6000060007313892
OrdId     21110314514598140193
OrdDate     20211103
TransAmt     100.00
UsrCustId     6020211103145144
MaxTenderRate     0.20
BorrowerDetails     [{"BorrowerCustId":"6020211023101545","BorrowerAmt":"100.00","BorrowerRate":"0.90","ProId":""}]
IsFreeze     Y
FreezeOrdId     21110314514598140193
RetUrl     http://user-p2p-test.itheima.net/trust/chinapnr/tender/return/21110314514598140193
BgRetUrl     https://www.baidu.com/
MerPriv     
ReqExt     
ChkValue     -101
CharSet     UTF-8
req_data== {'Version': '20', 'CmdId': 'InitiativeTender', 'MerCustId': '6000060007313892', 'OrdId': '21110314514598140193', 'OrdDate': '20211103', 'TransAmt': '100.00', 'UsrCustId': '6020211103145144', 'MaxTenderRate': '0.20', 'BorrowerDetails': '[{"BorrowerCustId":"6020211023101545","BorrowerAmt":"100.00","BorrowerRate":"0.90","ProId":""}]', 'IsFreeze': 'Y', 'FreezeOrdId': '21110314514598140193', 'RetUrl': 'http://user-p2p-test.itheima.net/trust/chinapnr/tender/return/21110314514598140193', 'BgRetUrl': 'https://www.baidu.com/', 'MerPriv': '', 'ReqExt': '', 'ChkValue': '-101', 'CharSet': 'UTF-8'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

    <tr class='passClass'>
        <td class="text-center">script.test_tender_flow.TestTenderFlow</td>
        <td class="text-center">1</td>
        <td class="text-center">1</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center">0</td>
        <td class="text-center"><button type="button" class="layui-btn layui-btn-xs" onclick="showClassDetail('c5',1)">详细</button></td>
    </tr>

<tr id='pt5.1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test01_tender_flow</div></td>
    <td>
    <a onfocus='this.blur();' data-toggle="collapse" href="javascript:showTestDetail('div_pt5.1')">
        通过</a>
    </td>
    <td colspan='5'>
    <div id='div_pt5.1' class="collapse in">
        <blockquote class="layui-elem-quote">
            <pre>pt5.1: sql_list=== ("DELETE FROM mb_member WHERE name='13020210001';", "DELETE FROM mb_member_info WHERE member_name='13020210001';", "DELETE FROM mb_member_register_log WHERE member_name='13020210001';")
reg2 body== {'phone': '13020210001', 'password': 'test123', 'verifycode': '8888', 'phone_code': '666666', 'dy_server': 'on'}
login body== {'keywords': '13020210001', 'password': 'test123'}
approve_realname body= {'realname': '小一', 'card_id': '110101199003072447'}
Version     10
CmdId     UserRegister
MerCustId     6000060007313892
BgRetUrl     https://www.baidu.com/
RetUrl     http://user-p2p-test.itheima.net/trust/chinapnr/register/return/21110314514687065890
UsrId     
UsrName     
IdType     00
IdNo     110101199003072447
UsrMp     13020210001
UsrEmail     
MerPriv     21110314514687065890
ChkValue     -101
CharSet     UTF-8
req_data== {'Version': '10', 'CmdId': 'UserRegister', 'MerCustId': '6000060007313892', 'BgRetUrl': 'https://www.baidu.com/', 'RetUrl': 'http://user-p2p-test.itheima.net/trust/chinapnr/register/return/21110314514687065890', 'UsrId': '', 'UsrName': '', 'IdType': '00', 'IdNo': '110101199003072447', 'UsrMp': '13020210001', 'UsrEmail': '', 'MerPriv': '21110314514687065890', 'ChkValue': '-101', 'CharSet': 'UTF-8'}
</pre>
        </blockquote>
    </div>
    </td>
</tr>

                </tbody>
                <tr id='total_row' class="text-center active">
                    <td align="right">总计</td>
                    <td>29</td>
                    <td>29</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                    <td></td>
                </tr>
            </table>
        </div>
	</fieldset>

        <a href="#">
    <ul class="layui-fixbar"><li class="layui-icon layui-fixbar-top" lay-type="top" style="display: list-item;"></li></ul>
    </a>
    
        
    <script type="text/javascript">
        // 初始化echarts实例
        var myChart1 = echarts.init(document.getElementById('chart1'));
        var myChart2 = echarts.init(document.getElementById('chart2'));
        // 指定图表的配置项和数据
        option1 = {
            tooltip: {
                formatter: '{a} <br/>{b} : {c}%'
            },
            toolbox: {
                feature: {
                    restore: {},
                    saveAsImage: {}
                }
            },
            series: [{
                name: '测试结果',
                type: 'gauge',
                detail: {
                    formatter: '100.00%'
                },
                data: [{
                    value: '100.00',
                    name: '用例通过率'
                }],
                axisLine: {
                    lineStyle: {
                        color: [
                            [0.2, '#c20000'],
                            [0.8, '#ddb518'],
                            [1, '#00a10a']
                        ]
                    }
                }
            }]
        };
        option2 = {
            color: ['#00a10a', '#ddb518', 'rgba(204,46,41,0.73)', '#85898c'],
            tooltip: {
                trigger: 'item',
                formatter: '{a} <br/>{b}: {c} ({d}%)'
            },
            legend: {
                orient: 'vertical',
                left: 10,
                data: ['通过', '失败', '错误', '跳过']
            },
            series: [{
                name: '测试结果',
                type: 'pie',
                radius: ['50%', '70%'],
                avoidLabelOverlap: false,
                label: {
                    show: false,
                    position: 'center'
                },
                emphasis: {
                    label: {
                        show: true,
                        fontSize: '30',
                        fontWeight: 'bold'
                    }
                },
                labelLine: {
                    show: false
                },
                data: [{
                        value: 29,
                        name: '通过'
                    },
                    {
                        value: 0,
                        name: '失败'
                    },
                    {
                        value: 0,
                        name: '错误'
                    },
                    {
                        value: 0,
                        name: '跳过'
                    }
                ]
            }]
        };

        myChart1.setOption(option1);
        myChart2.setOption(option2);
    </script>
    
    </div>
</body>
</html>
